<div class="navbar-container" id="navbar-container">
	<button type="button" class="navbar-toggle menu-toggler pull-left"
		id="menu-toggler">
		<span class="sr-only">Toggle sidebar</span> <span class="icon-bar"></span>

		<span class="icon-bar"></span> <span class="icon-bar"></span>
	</button>

	<div class="navbar-header pull-left">
		<a href="${siteurl}admin/index.htm" class="navbar-brand"> <small> <i
				class="fa fa-leaf"></i> 管理后台
		</small>
		</a>
	</div>

	<div class="navbar-buttons navbar-header pull-right" role="navigation">
		<ul class="nav ace-nav">
		
           [@shiro.user]
			<li class="light-blue"><a data-toggle="dropdown" href="#"
				class="dropdown-toggle"> <img class="nav-user-photo"
					src="[#if user.headimg??]${user.headimg!}[#else]${siteurl}assets/img/header.jpg[/#if]" alt="ada" /> <span
					class="user-info"> <small>欢迎,</small> ${user.name!""}
				</span> <i class="ace-icon fa fa-caret-down"></i>
			</a>

				<ul
					class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
					<li><a href="${siteurl}#"> <i class="ace-icon fa"></i>
							查看前台
					</a></li>

					<li><a href="${siteurl}profile/profile.htm"> <i class="ace-icon fa fa-user"></i>
							个人资料
					</a></li>

					<li class="divider"></li>

					<li><a href="${siteurl}/logout.htm"> <i
							class="ace-icon fa fa-power-off"></i> 退出
					</a></li>
				</ul>
				</li>
			 [/@shiro.user]
		</ul>
	</div>
</div>